package com.myexam.service;


import java.text.ParseException;

import com.myexam.model.Student;
import com.myexam.util.Page;
import com.myexam.util.PageResult;

public interface StudentService {

	public boolean allowLoagin(String studentID,String password);

	public Student getStudentInfo(String studentID);

	public void setStudentResult(String studentID,int result ,int examID) throws ParseException;

	@SuppressWarnings("rawtypes")
	public PageResult queryStudentByPage(Page page);
	
	public boolean saveStudent(Student student);

	//@SuppressWarnings("rawtypes")
	//public PageResult likeQueryByStudentName(Page page);
}
